XDA Developers' Android Hacker's Toolkit by Tyler Jason Verduzco Will

XDA Developers' Android Hacker's Toolkit by Tyler Jason Verduzco Will

Author:Tyler, Jason, Verduzco, Will
Language: eng
Format: epub
Publisher: John Wiley & Sons
Published: 2012-04-29T16:00:00+00:00


Figure 4-4: The ClockworkMod install from SD card options

Choose Zip

The “choose zip from sdcard” option allows you to navigate through the file and folder structure on your SD card to locate a zip file. Custom themes and device customizations frequently come as zip files. You use this option to select the file and the “apply” option to apply it.

Toggle Signature Verification

The “toggle signature verification” option allows you to specify that the device should check the selected zip file for a “signature”. Most zip files from the OEM or carrier will be signed, as will many ROMs. You should leave signature verification enabled as sometimes this will stop corrupted ROMs from flashing.

Toggle Script Asserts

The “toggle script asserts” option is seldom utilized. It allows or prevents the execution of script commands embedded in a zip file. Most zip files simply update or replace files in the file system. A zip file with embedded scripting can change or alter device settings. Turning off script asserts disables scripting embedded in the zip file.

Backing Up and Restoring a Device

The “backup and restore” function of ClockworkMod (Figure 4-2) is perhaps the most useful and desired item. Backing up data from inside the Android operating system, even on a rooted device, is a complex operation. ClockworkMod can back up all files, applications, settings and data in one operation. The backup file is stored on the SD card where it is mostly safe from any customizations or hacks. This makes for a safety net that is of great value. Periodically backing up using ClockworkMod is a good idea even if you are not an active customizer and hacker. Corruption or data loss from misbehaving applications can be fixed by restoring from a known good backup.

When you select the “backup and restore” option, a submenu appears, as shown at the top of Figure 4-5.

Backup

Selecting the backup option immediately starts backing up your device. While the backup process is running, a progress list is displayed (see Figure 4-6).

The backup file is placed on the SD card in the /sdcard/clockworkmod/backups folder with the date as the file name. This enables you to distinguish among multiple backup files.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.